package cn.exrick.xboot.modules.graphics.param;

import cn.exrick.xboot.base.param.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * Created with IntelliJ IDEA.
 *容器参数
 * @Auther: njp
 * @Date: 2020/09/07/9:51
 * @Description:
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ContainerParam extends BaseParam {
    @ApiModelProperty(value = "主键id")
    @NotNull
    private String id;
    @ApiModelProperty(value = "标题" )
    @NotNull(message = "标题不能为空,请检查title参数",groups = {add.class})
    private String title;
    @ApiModelProperty(value = "页面路由或地址")
    @NotNull(message = "界面地址标识不能为空，请检查content参数",groups = {add.class})
    private String content;

}
